Where to write matlab program